<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en" lang="en">
	<head>
		<title>herder</title>
		<link href="../css/public.css" rel="stylesheet" type="text/css" media="screen"/>
		<link href="../css/main.css" rel="stylesheet" type="text/css"  media="screen"/>
		<script type="text/javascript" src="../js/message.js"></script>
		<script type="text/javascript">
		//<![CDATA[  
			function sel(obj)
			{
				//alert(obj.id)
				var lis=document.getElementsByTagName("li");
				for(var i=0;i<lis.length;i++)
				{
					lis[i].style.background="";
					if(lis[i]==obj)
					{
					lis[i].style.background="#00f";//#f3c3f3; #00f
					}
				}
			}
		//]]> 
		</script>	
	</head>
    <body>
		<div id="container" >
		  <div id="header">
		   		<div class="logo fl pt6p pl15p" style="background-image: url('../images/logo.png')">
		   			<div align="right" style="position:relative;left:1000px;top:15px;width:100%">欢迎  <span style="color:blue">#{LoginBB.user.tp_userlevel_value} #{LoginBB.user.tp_name} </span> 登陆！    技能组：#{LoginBB.user.tp_userkind_value}</div>
		   		</div>
		        
		        <div class="menu fl">
		        	<ul class="nav">
		        		<ui:repeat var="menus" value="#{LoginBB.petences}">
							<li class="list" onclick="sel(this);" id="#{facesContext.externalContext.requestContextPath}#{menus.tp_path}">
							<a href="#{facesContext.externalContext.requestContextPath}#{menus.tp_path}" target="rightFrame">#{menus.tp_menunale}</a>
							</li>
						</ui:repeat>
		        	</ul>
		        </div>
			</div>
		</div>
	</body>
</html>
	